package cn.antho.basic.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AccountLoginDto {

    @NotBlank(message = "用户名不可为空！")
    private String username;
    @NotBlank(message = "密码不可为空！")
    private String password;
    @NotNull(message = "type不可为空！")
    private Integer type;

}
